getKeyframes

abstract fun getKeyframes(block: DesignBlock, property: String): List<Keyframe>

Get the keyframes of a block property, sorted by time. Experimental: this API may change in a minor release.

Return

the keyframes, or an empty list when the property has no keyframes.

Parameters

block

the block that owns the property.

property

the animatable property path.